package com.design.patterns.list.builder;

/**
 * @author Wangzhiwen
 */
public class CommonHouse extends AbsHouse {
    @Override
    public void buildBasic() {
        System.out.println("普通房子打地基");
    }

    @Override
    public void buildWalls() {
        System.out.println("普通房子砌墙");
    }

    @Override
    public void roofed() {
        System.out.println("普通房子盖屋顶");
    }

    @Override
    public void build() {
        buildBasic();
        buildWalls();
        roofed();
    }
}
